<template>
    <view class="price">
        <view class="text" v-if="type!=1">￥</view>
        <view class="number">{{ price }}</view>
    </view>
</template>

<script>
export default {
    props: ["price","type"],
}
</script>

<style lang="scss">
.price {
    display: flex;
    align-items: center;
    color: $color-orange-1;
    font-weight: 700;

    .text {
        font-size: 28rpx;
    }

    .number {
        font-size: 36rpx;
    }
}
</style>
